<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">
    <head>
        <link rel="stylesheet" type="text/css" href="/AnimeList/resources/css/templateStyle.css"/>
    </head>
    <ui:component>
        
                <p:panel style="width: 400px">
                        <h:outputText value="Название: " styleClass="feed"/>
                        <p:commandLink value="#{anime.name}" styleClass="feed" actionListener="#{mBean.animeSelect()}" update="#{update} :dialogForm">
                            <f:param name="#{animeParam}" value="#{anime.id}"/>
                        </p:commandLink>
                        <br/>
                        <h:outputText value="Студия: " styleClass="feed"/>
                        <p:commandLink value="#{anime.studio.studioName}" styleClass="feed" update="#{filterUpdate}">
                            <f:setPropertyActionListener target="#{fltrBean.filterStudio}" value="#{anime.studio.id}"/>
                        </p:commandLink>
                        <br/>
                        <h:outputText value="Жанр:" styleClass="feed"/>
                        <ui:repeat value="#{genreList}" var="genres">
                            <p:commandLink value="#{genres}" styleClass="feed">
                                <f:setPropertyActionListener target="#{fltrBean.filterGenre}" value="#{genres}"/>
                            </p:commandLink>
                            <h:outputText value="," styleClass="feed"/>
                        </ui:repeat>
                        <br/>
                        <h:outputText value="Тип: " styleClass="feed"/>
                        <h:outputText value="#{anime.typeInfo}" styleClass="feed"/>
                        <br/>
                        <h:outputText value="Выпуск: " styleClass="feed"/>
                        <h:outputText value="#{anime.interval}" styleClass="feed"/>
                        
                </p:panel>
    </ui:component>
</html>

